﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace WLYT.Domain.Model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("Material")]
    public partial class Material
    {
           public Material(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:物料编码（厂内料号）
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string ItemCode {get;set;}

           /// <summary>
           /// Desc:物料名称
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string ItemName {get;set;}

           /// <summary>
           /// Desc:制造商编码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string MaderCode {get;set;}

           /// <summary>
           /// Desc:制造商名称
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string MaderName {get;set;}

           /// <summary>
           /// Desc:原厂料号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string OriginalCode {get;set;}

           /// <summary>
           /// Desc:单位
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string UnitCode {get;set;}

           /// <summary>
           /// Desc:最小包装数量
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int ItemMinPack {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SMLevel {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime CreateTime {get;set;}

           /// <summary>
           /// Desc:修改时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? UpdateTime {get;set;}

    }
}
